package com.qys.livesMall.anchor.model.vo.task.app;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.qys.livesMall.shop.modal.vo.task.SellTaskVo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;


@EqualsAndHashCode(callSuper = true)
@Data
public class SellTaskHallPageVO extends SellTaskVo {

    @Schema(description = "店铺名称")
    private String shopName;

    @Schema(description = "店铺等级")
    private Integer shopLevelId;

    @Schema(description = "店铺等级名")
    private String shopLevelName;

    @Schema(description = "是否我的")
    private Boolean myFlag=false;

    @Schema(description = "是否已接单")
    private Boolean receiveFlag=false;

    @Schema(description = "发布任务次数")
    private Long taskNum;

    @Schema(description = "所需信誉值(不小于0)")
    private Integer needReputation;

    @Schema(description = "任务时长（平台设定)")
    private String taskDuration;

    @Schema(description = "任务开始时间（当前时间之后）")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+0")
    private LocalDateTime taskStartTime;

    @Schema(description = "任务结束时间（开始时间之后）")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+0")
    private LocalDateTime taskEndTime;

    @Schema(description = "状态（0：审核中   1：未通过审核  2：进行中   5:已完成 ）")
    private Byte status;

    @Schema(description = "商品分类，逗号分割")
    private String category;
}
